<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>
        // 语法
        document.write('页面术出的内容')
        console.log('后台输出')
        prompt('输入内容弹窗')
        alert('警告弹窗')
        // 数据类型
        number (数字)
        string (字符串)
        true 
        false
        undefined
        boolean (字符串)
        NaN    
        null  (空数据)    

    </script>
</body>
</html>